SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf2a8326383cfe21411749592d46f3577d4e61d35e41773912792a408ecae02b' 
  AND token = 'NwFUPjzRYEDbMzd0t3704hNdAEcobO86UKfkiwij+cc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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