SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '312f31f398e04f2ebfc34d12504f72af3cad5c375c8190b58bb8c677dc270c49' 
  AND token = 'AaG9a1HwptsQ8W2H+5dgnyEzpS3FI8zVFGxmcckvX4s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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