SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd8366c28ab3e0775a451994191f74f1b360012ea87074fafbff2d3420ffc105a' 
  AND token = 'HGdbAx5CywfZwYceI+VuBtWD2VdWq0IKYNeWVJgiIfU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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