SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b3564f5a4c630494f0db2a270740d90c78f20239b03a239ea2337cde68401aae' 
  AND token = '3l2utkh/gxSCtuLs+StHVJwgHV1KLUSlVfeYPIx2hpw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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