SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'afd4dcd3a69749b63a25fda8adea662380169eea56fe6e35339feaa8e5d519a4' 
  AND token = 'F2X3RHYF67G/Ad3PAX9Jxw5KL4Then1Tshjn3rZK3FE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}