SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7cd6befebe1ba7eebae6ac122ef4ea7f726f620f4da578d02df30de5a57c30e1' 
  AND token = 'Z8bXpqsHDEcrcKAZXNT6Hi8HbKLoqxunNMYKoPN/AG0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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