SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4ed91a4c2cc2324e012cba75f54c6c3f1d6fbf2f6c11cf6a7c183b230e73151' 
  AND token = 'EXL17etwbecRRjZipla21DJOJBxcPDGMBsz0/hG12tw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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