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

Query time 0.00043

JSON explain

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