SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ff79e7fd236f0847090c025fcbeb45be25c271f69747d35df30c71f90bc0797a' 
  AND token = '9sxXVN7x7O5dWuQqOR9d5SqM6/6EYzY2XovSjePrwXg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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