SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '02e05730286de9a5262334b3f5b18e72af99d9935be66f975b40ddddb46bf93c' 
  AND token = 'qF6GaF9z0d65tc5AJl2ko9bjkJNZWrcbimlA+QUPisA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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