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

Query time 0.00056

JSON explain

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