SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8df629d1c44104668ce8cd9b2d18b6d664ac3f4fc607009d6f7e22ec9a2d5c83' 
  AND token = 'TgKRanvnDZEIDZIr4PbmY05G6hKuOdBFbPWFfJsaSeM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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