SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6fb4cf409e06ae7aa5cde9e2ef2dea0cb1032d95b96e8e2d4d505d66ebfd6765' 
  AND token = 'JBHYIIbL/ptWUGnyBFANqi90ljxD3ASFNzYaqKOnQF4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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