SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12c2da341721a98d9ad760ee38226cd52620f38144c91304243da2c73b03ddd4' 
  AND token = 'ugBpWXdlt7w9WB3bE8mHidyGdAPI8vafdxAHKjSNkDc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00064

JSON explain

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