SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cea1077785a29e032ef24d7147fb8c25f1032d66a041c0589299435f31c313b1' 
  AND token = 'ugtd9W1cDWYzb0fO0/6vYZ/bZf3g95w17HfWyFoydyU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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