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

Query time 0.00029

JSON explain

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