SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'eff198e4641d4b5fd7ce9fc437c30f78670e9aa50beed46205c23d37b6096e28' 
  AND token = 'itwEIqWYMOIT7uKfEd0O35vcomvMCRG7isq+gv69o/o=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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