SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40ac2aa541c789d3903ac7b383aa8170268b5cdc5b632053420e7cb870e924a4' 
  AND token = 'ZzK3Y8x2Eo6NIlgmCFaN3f8dOdEhCtd+7w6+a65mhms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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