SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a6518b7d33c6cbdcd9a998b3b337064662d51ddead18de662b4e4ce298eefbc2' 
  AND token = 'MHtZCk+T1BiaGGqqx/0YfAq7C9hM3+35/HG63oTP4G4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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