SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '87af3e9fea5452d4849871e54425f26a98ff523f32d209d57953474e082b0586' 
  AND token = 'D2ApIC686HQSyliZesrsS2uN4ccVN89QKtF7qJOItA4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}