SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '77a01b98522d0aaee561d2506e9f53007c053c26b573ba2b79ce821e63a3af27' 
  AND token = 'hFoeZE5Bsw5Gab+zLrFw7Ts2de5sNKYPIif/Asp9Aj4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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