SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3847b1f4245c9820a9f8e3981f4fcf8c0151c60771eca5e16ca2537983e14d9b' 
  AND token = 'ZvlnL2f2MKSDDE8UpcoMrDunaN0/OQCkPyLLKB3y3aM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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