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

Query time 0.00051

JSON explain

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