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

Query time 0.00026

JSON explain

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