SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1f3e56c78f44a882ffc284b70eda168c768706ae2d08b4f9bcea71db7ea2f027' 
  AND token = 'uZLJtPB0ZTutHJIPuP8BNUwVWHOkfvU+8YbiSU9Vhr4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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