SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6f9b6d1c33619d8a7614f98cb5fe91ae8007c109b813967206664b4ef4c937d0' 
  AND token = 'l782HNifwjze2bDGdG/MQiEJYATl25PpLZGVkFXOrXE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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