SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c3f0583ca257d81df31dddd898153f776462ee67b573856ed63e553f8945a956' 
  AND token = 'mGnOlgjRh7W9NhzboH2955VkWlO25rLdExevFbwuTZE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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