SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f9e7a58a06df8fc864a9c4e30bf8d3564c6f2a1bba0a66e0456617aa444858ce' 
  AND token = 'TKMrKXUGzq54E/k0ip9Z41g8b5Wg4dnY/g6ilhsfZXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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