SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f8ebcb085ef7a56eb4d0b95abd9382ea20cb8c70a17f859b488bb9976aeec328' 
  AND token = 'yJ5oU2Cnw1xFXecDw70cKPYjsO8H86wHLLhLgCcSBoA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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