SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b040fae2812d7fe71cf6a4e457b41d7c14464e2a4d2553c08e9f4b6176188f3b' 
  AND token = 'WTN1sLouqc1IohIQdG83Caom6ADbY+bLRzNFBMchvvQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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