SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1c510d2e6d618d9ebb772babbb64701deae22122ec046712b56abf34bda1141' 
  AND token = 'UsLGX2NqgdHqr5V9jIJsZ2gg8TviV6w8zJZZR/FIPDM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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