SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '21e4137370e4345acc41d2f68bdce85b1094ca3e710806cf4084ea3ab255afc8' 
  AND token = 'ELxBzdYGSaniBhdEpI+PjavYpCRYymsW9YTw/cn2pmI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}